package com.dlxj.service;

import java.util.Date;
import java.util.List;

import com.dlxj.entity.Debugtask;
import com.dlxj.entity.DebugtaskUser;
import com.dlxj.entity.Patroltask;
import com.dlxj.entity.Receiptpatrol;
import com.dlxj.util.PageBean;

public interface DeBugTaskService {

	/**
	 * 制定消缺任务
	 * 
	 * @param debugtask
	 * @param dps
	 *            杆塔编号集合和巡检任务编号集合
	 * @return
	 */
	public int addDeBugTask(Debugtask debugtask, String dps);

	public List<Debugtask> findWait();

	public List<Debugtask> findWaitByUid();

	public List<Debugtask> findExecuting();

	public List<Debugtask> findAuditingMissPass();

	public int assignUser(String did, String uid);

	public int executeTask(String id);

	public PageBean statistics(Debugtask debugtask,
			DebugtaskUser debugtaskUser, Date sd, Date ed, int pageIndex,
			int pageSize);

	public String export(Debugtask debugtask, DebugtaskUser debugtaskUser,
			Date sd, Date ed);

}
